package com.naiterui.ehp.bs.recommend.bean.mongo;

import java.io.Serializable;

import org.springframework.data.annotation.Id;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 推荐用药队列任务
 * @author YongYang
 * @since 1.0.0
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class DrugTask implements Serializable {

    /**
     * 未执行
     */
    public static final int UNEXECUTED = 0;
    /**
     * 已执行
     */
    public static final int EXECUTED = 1;

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = -8672899047600582919L;

    /**
     * 主键
     */
    @Id
    private String id;

    /**
     * 推荐用药的标识
     */
    private Long recommandId;

    /**
     * 执行时间
     */
    private Long endTime;

    /**
     * 执行状态
     */
    private Integer status;

    public Long getRecommandId() {
        return recommandId;
    }

    public void setRecommandId(Long recommandId) {
        this.recommandId = recommandId;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

}
